#include "PCH.h"
#include "ComputeShader.h"
using namespace DeviousRenderer;

ComputeShader::ComputeShader(ID3D11ComputeShader* pShader)
	: m_pShader(pShader)
{

}

ComputeShader::~ComputeShader()
{
	SAFE_DELETE(m_pShader);
}

void ComputeShader::Bind(ID3D11DeviceContext* deviceContext)
{
	deviceContext->CSSetShader(m_pShader);
}